<div class="discuss-list" xmlns:th="http://www.thymeleaf.org" th:if="${pid==0}" th:each="var : ${commentList}">
    <!--顶级评论-->
    <div class="discuss-left">
        <div class="user-logo"><a target="_blank" th:href="${'/user/personage/'+var.uid}">
            <img th:src="${var.imgpath}"></a>
        </div>
        <div class="user-message">
            <div class="name-time">
                <a th:href="${'/user/personage/'+var.uid}" target="_blank" class="user-name" th:text="${var.name}">无言猪</a>
                <span class="discuss-time" th:text="${var.dateTime}">5天前</span>
            </div>
            <div class="leave-message" th:text="${var.ar_content}">dddd</div>
        </div>
    </div>
    <div class="answer-message">
        <div class="discuss-right">
            <div class="discuss-reply">
                <span class="answer">回复</span>
                <i th:if="${var.sum != 0}" class="idotted"></i>
                <span th:if="${var.sum !=0}" class="answer-num" th:id="${var.arid}"><span><span th:text="${var.sum}"></span>条回复</span><img class="arrow-img" src="/icon/arrow-bttom.png"></span>
            </div>
            <div class="discuss-num">
                <a href="javascript:;"><span th:text="${var.read_like}">1</span><img onclick="addlike(this)" th:id="${var.arid}" class="dianzan" src="/icon/dianzan.png"></a>
                <!-- <a href="#"><img class="jubao" src="/static/images/jubao.png" alt="有贝口腔网"></a> -->
            </div>
        </div>
        <div class="posi-input" style="display: none;">
            <div class="discuss-input">
                <textarea placeholder="写下您的回复..." class="input" th:id="${'content'+var.arid}"></textarea>
                <div class="answer-div">
                    <span class="answer-btn" onclick="reply(this)" th:depth="${var.depth}" th:id="${var.arid}">回复</span>
                </div>
            </div>
        </div>
        <div class="more-answer" th:id="${'replylist'+var.arid}" style="display:none">
            <!-- 更多在代码里面了 <div class="show-more-ansewer" onclick="moreCommentReplylist(this)" th:id="${commentVO.comment.id}">查看更多回复</div> -->
        </div>
    </div>
</div>
<div class="more-answer-list" xmlns:th="http://www.thymeleaf.org" th:each="var : ${commentList}" th:id="${'replyTolist'+var.arid}" th:if="${pid!=0}">
    <!--回复-->
    <div class="discuss-left">
        <div class="user-logo">
            <a target="_blank" th:href="${'/user/personage/'+var.uid}">
                <img th:src="${var.imgpath}"></a>
        </div>
        <div class="user-message">
            <div class="name-time">
                <a th:href="${'/user/personage/'+var.uid}" target="_blank" class="user-name" th:text="${var.name}">无言猪</a>
                <span class="discuss-time" th:text="${var.dateTime}">5天前</span>
            </div>
            <div class="leave-message">

                <span th:text="${var.ar_content}"></span>
                <span th:if="${var.parentid+''!=var.depth}">
                    <br>
                    //@<span th:text="${var.names}">无言猪</span>：<span th:text="${var.ar}">不客气</span>
                </span>

            </div>
        </div>
    </div>
    <div class="discuss-right erji-huifu">
        <div class="discuss-reply">
            <span class="erji-answer">回复</span>
        </div>
        <div class="discuss-num">
            <a href="javascript:;"><span th:text="${var.read_like}">0</span><img onclick="addlike(this)" th:id="${var.arid}" class="dianzan" src="/icon/dianzan.png"></a>
        </div>
    </div>
    <div class="discuss-input  erji-input" style="width: auto;">
        <textarea placeholder="写下您的回复..." class="input textarea-train" th:id="${'contentTo'+var.arid}"></textarea>
        <div class="answer-div" style="position: static;">
            <span class="answer-btn" onclick="replyToReply(this)" th:depth="${var.depth}" th:id="${var.arid}">回复</span>
        </div>
    </div>
</div>
<div class="discuss-list" xmlns:th="http://www.thymeleaf.org" th:if="${oneReViews}">

    <div class="discuss-left">
        <div class="user-logo"><a target="_blank" th:href="${'/user/personage/'+oneReViews.uid}">
            <img th:src="${oneReViews.imgpath}"></a></div>
        <div class="user-message">
            <div class="name-time">
                <a th:href="${'/user/personage/'+oneReViews.uid}" target="_blank" class="user-name" th:text="${oneReViews.name}">无言猪</a>
                <span class="discuss-time">刚刚</span>
            </div>
            <div class="leave-message" th:text="${oneReViews.ar_content}">sss</div>
        </div>
    </div>
    <div class="answer-message">
        <div class="discuss-right">
            <div class="discuss-reply">
                <span class="answer">回复</span>
            </div>
            <div class="discuss-num">
                <a href="javascript:;"><span th:text="${oneReViews.read_like}">0</span><img onclick="addlike(this)" th:id="${oneReViews.arid}" class="dianzan" src="/icon/dianzan.png"></a>
                <!-- <a href="#"><img class="jubao" src="/static/images/jubao.png" alt="有贝口腔网"></a> -->
            </div>
        </div>
        <div class="posi-input" style="display: none;">
            <div class="discuss-input">
                <textarea placeholder="写下您的回复..." class="input" th:id="${'content'+oneReViews.arid}"></textarea>
                <div class="answer-div">
                    <span class="answer-btn" onclick="reply(this)" th:id="${oneReViews.arid}">回复</span>
                </div>
            </div>
        </div>
        <div class="more-answer" th:id="${'replylist'+oneReViews.arid}" style="display:none">
            <!-- 更多在代码里面了 <div class="show-more-ansewer" onclick="moreCommentReplylist(this)" th:id="${commentVO.comment.id}">查看更多回复</div> -->
        </div>

    </div>

</div>
<div class="more-answer-list" xmlns:th="http://www.thymeleaf.org" th:if="${twoReViews}"  th:id="${'replyTolist'+twoReViews.arid}">

    <div class="discuss-left">
        <div class="user-logo"><a target="_blank" th:href="${'/user/personage/'+twoReViews.uid}"><img th:src="${twoReViews.imgpath}"></a></div>
        <div class="user-message">
            <div class="name-time">
                <a th:href="${'/user/personage/'+twoReViews.uid}" target="_blank" class="user-name" th:text="${twoReViews.name}">无言猪</a>
                <span class="discuss-time">刚刚</span>
            </div>
            <div class="leave-message" th:text="${twoReViews.ar_content}">不客气</div>
        </div>
    </div>
    <div class="discuss-right erji-huifu">
        <div class="discuss-reply">
            <span class="erji-answer">回复</span>
        </div>
        <div class="discuss-num">
            <a href="javascript:;"><span th:text="${twoReViews.read_like}">0</span><img onclick="addlike(this)" th:id="${twoReViews.arid}" class="dianzan" src="/icon/dianzan.png"></a>
        </div>
    </div>
    <div class="discuss-input  erji-input" style="display: none;">
        <textarea placeholder="写下您的回复..." class="input" th:id="${'contentTo'+twoReViews.arid}"></textarea>
        <div class="answer-div">
            <span class="answer-btn" onclick="replyToReply(this)" th:depth="${twoReViews.depth}" th:id="${twoReViews.arid}">回复</span>
        </div>
    </div>

</div>
<div class="more-answer-list" xmlns:th="http://www.thymeleaf.org" th:if="${threeReViews}" th:id="${'replyTolist'+threeReViews.arid}">

    <div class="discuss-left">
        <div class="user-logo"><a target="_blank" th:href="${'/user/personage/'+threeReViews.uid}"><img th:src="${threeReViews.imgpath}"></a></div>
        <div class="user-message">
            <div class="name-time">
                <a th:href="${'/user/personage/'+threeReViews.uid}" target="_blank" class="user-name" th:text="${threeReViews.name}">无言猪</a>
                <span class="discuss-time" th:text="${threeReViews.dateTime}">16小时前</span>
            </div>
            <div class="leave-message"><span th:text="${threeReViews.ar_content}"></span> <br>//@<span th:text="${threeReViews.names}">无言猪</span>：<span th:text="${threeReViews.ar}">不客气</span></div>
        </div>
    </div>
    <div class="discuss-right erji-huifu">
        <div class="discuss-reply">
            <span class="erji-answer">回复</span>
        </div>
        <div class="discuss-num">
            <a href="javascript:;"><span>0</span><img onclick="addlike(this)" th:id="${threeReViews.arid}" class="dianzan" src="/icon/dianzan.png"></a>
        </div>
    </div>
    <div class="discuss-input  erji-input" style="display: none;">
        <textarea placeholder="写下您的回复..." class="input" th:id="${'contentTo'+threeReViews.arid}" ></textarea>
        <div class="answer-div">
            <span class="answer-btn" onclick="replyToReply(this)" th:depth="${threeReViews.depth}"  th:id="${threeReViews.arid}">回复</span>
        </div>
    </div>

</div>

